package com.zh.umldemo.test02SimpleFactory;

/**
 * @author zh
 * @date 2025/9/7 10:03
 * @description:说明
 */
public class Test {
    public static void main(String[] args) {


        try {
            Factory.getInstance("A").Show();
            Factory.getInstance("B").Show();
            Factory.getInstance("D").Show();
        }catch (Exception e){
            e.printStackTrace();
        }


    }
}
